package com.czh.auth.infra.basic.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.czh.auth.infra.basic.entity.AuthRolePermission;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 角色权限关联表(AuthRolePermission)表数据库访问层
 *
 * @author caozaihui
 * @since 2024-08-30 21:36:01
 */
@Mapper
public interface AuthRolePermissionMapper extends BaseMapper<AuthRolePermission> {

     /** 
        * 
        * @param authRolePermission 实例对象
        * @author caozaihui  
        * @description  分页查询数据
        * @date 2024-08-30 21:36:01
        * @return 实例对象
     */
    List<AuthRolePermission> selectAuthRolePermissionList(AuthRolePermission authRolePermission);

    int insertBatchAuthRolePermissionList(@Param("authRolePermissionList") List<AuthRolePermission> authRolePermissionList);
}

